package com.up.api.repository;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.FieldNameConstants;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author: liuchengjun
 * @title: Student
 * @projectName: 海联技术中台V2.0
 * @depart 软件事业部
 * @description:
 * @date: 2024/1/30/030 14:14 (星期二)
 * @since V2.0
 */
@Data
@Document("student")
@NoArgsConstructor
@FieldNameConstants
@AllArgsConstructor
public class Student {
    /**
     * 数据唯一标识
     */
    @Id
    private String id;
    private String name;
    private Integer age;
}
